package com.xhorse.lockplatform.service;

import com.xhorse.lockplatform.model.pojo.DataBean;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface CreditsExchangeService {

    String selectProductByType(HttpServletRequest httpServletRequest);

    Map<String, Object> getCredits(HttpServletRequest request, String userId, String sn);

    String unbindingDevice(HttpServletRequest request, String customerId, String sn);

    List<DataBean> getProductLogByUser(HttpServletRequest request, String customerId);

    String getDealerList(HttpServletRequest httpServletRequest);

    String uploadOrder(HttpServletRequest httpServletRequest, String requebody);

    String getOrderList(HttpServletRequest httpServletRequest);

    String queryForCredits(HttpServletRequest request);

    String getFunctionProductList(HttpServletRequest httpServletRequest);

    String getPointsProductList(HttpServletRequest httpServletRequest);

}
